package com.wechat.it.isales.common.vo;

import java.util.HashMap;


public class OperationPromptVO extends HashMap<String,Object>{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7106425532426492866L;

	public OperationPromptVO(String msg, boolean success) {
		super.put("success",success);
		super.put("msg", msg);
	}

	public boolean isSuccess() {
		return (Boolean) super.get("success");
	}
	
	public void setSuccess(boolean success) {
		super.put("success",success);
	}
	
	public String getMsg() {
		return (String) super.get("msg");
	}
	
	public void setMsg(String msg) {
		 super.put("msg", msg);
	}

	/**
	 * 
	 */
	public OperationPromptVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public OperationPromptVO(boolean success) {
		super.put("success",success);
	}
}
